<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>用户信息</title>
    <link rel="stylesheet" href="/vendor/simple-line-icons/css/simple-line-icons.css">
    <link rel="stylesheet" href="/vendor/font-awesome/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="/css/styles.css">
    <style type="text/css">
        .table-responsive1 {
            display: block;
            width: 100%;
            height: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            -ms-overflow-style: -ms-autohiding-scrollbar
        }

        .table-responsive1 > .table-bordered {
            border: 0
        }
        .col-md-6-2 {
            position: relative;
            width: 50%;
            min-height: 1px;
            padding-right: 15px;
            padding-left: 15px
        }

        .col-md-6-2 {
            -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
            flex: 0 0 100%;
            max-width: 50%
        }
        .row {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            margin-right: 15px;
            margin-left: 15px
        }
    </style>
</head>
<body>
<a href="/admin/addUser">
    <button type="button" class="btn btn-primary">
        <i class="fa fa-align-center"></i> &nbsp; 添加用户
    </button>
</a>
<input type="hidden" th:value="${isSuccess}" id="isSuccess"/>
<!--<div class="page-wrapper" id="all_user">
    <div class="main-container">
        <div class="content">-->
<!--<div class="col-md-6-2">-->
<div class="card">
    <div class="card-header bg-light">
        所有用户信息
    </div>
    <div class="row mt-4">
        <div class="col-md-4">
            <div class="form-group">
                <input id="username" name="username" class="form-control" placeholder="输入用户名查询">
            </div>
        </div>
        <div class="col-md-4">
            <div class="form-group">
                <button class="btn btn-rounded btn-primary" id="search_reward">搜索</button>
            </div>
        </div>
    </div>
    <div class="card-body">
        <div class="table-responsive">
            <table class="table table-bordered" id="table_add">
                <thead>
                <tr>
<!--                    <th>学号</th>-->
<!--                    <th>姓名</th>-->
<!--                    <th>性别</th>-->
<!--                    <th>班级</th>-->
<!--                    <th>手机号码</th>-->
<!--                    <th>考评分数</th>-->
<!--                    <th>是否学生干部</th>-->
<!--                    <th>详情</th>-->
                    <th>学号/工号</th>
                    <th>用户名</th>
                    <th>密码</th>
                    <th>姓名</th>
                    <th>学院</th>
                    <th>角色</th>
                    <th>状态</th>
                    <th>详情</th>
                    <th>修改信息</th>
<!--                    <th>状态</th>-->
                </tr>
                </thead>
                <tbody>

                </tbody>
            </table>
            <button type="button" class="btn btn-secondary btn-sm add">首页</button>
            <button type="button" class="btn btn-secondary btn-sm add">上一页</button>
            <button type="button" class="btn btn-secondary btn-sm add">下一页</button>
            <button type="button" class="btn btn-secondary btn-sm add">尾页</button>
        </div>
    </div>
</div>
<!--            </div>
        </div>
    </div>
</div>-->

<div class="page-wrapper" id="user_msg" style="display: none">
    <div class="main-container">
        <div class="content">
            <div class="container">
                <div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body p-0">

                                <div class="row pb-5 p-5">
                                    <div class="col-md-6">
                                        <p class="font-weight-bold mb-4">用户信息</p>
<!--进行适当修改                                        <p class="mb-1" id="userName">姓名：</p>-->
                                        <p class="mb-1" id="name">姓名：</p>
                                        <p class="mb-1" id="role">角色：</p>
<!--                                        <p id="xb">性别：</p>-->
<!--                                        <p class="mb-1" id="phone">手机号码：</p>-->
<!--                                        <p class="mb-1" id="email">邮箱：</p>-->
                                    </div>

                                    <div class="col-md-6 text-right">
                                        <p class="font-weight-bold mb-4">详情</p>
<!--                                        <p class="mb-1" id="id"><span class="text-muted">学号: </span></p>-->
<!--                                        <p class="mb-1" id="pwd"><span class="text-muted">密码: </span></p>-->
<!--                                        <p class="mb-1" id="kpfs"><span class="text-muted">考评总分: </span></p>-->
<!--                                        <p class="mb-1" id="qdbm"><span class="text-muted">所属班级: </span></p>-->
<!--                                        <p class="mb-1" id="qshm"><span class="text-muted">寝室号码: </span></p>-->

                                        <p class="mb-1" id="id"><span class="text-muted">学号: </span></p>
                                        <p class="mb-1" id="yhm"><span class="text-muted">用户名: </span></p>
                                        <p class="mb-1" id="mm"><span class="text-muted">密码: </span></p>
                                        <p class="mb-1" id="xy"><span class="text-muted">学院: </span></p>
                                        <p class="mb-1" id="zk"><span class="text-muted">状况: </span></p>

                                    </div>
                                </div>

                                <!--<div class="row p-5">
                                    <div class="col-md-12">
                                        <a href="/student/change_msg"><button type="button" class="btn btn-outline-primary">修改信息</button></a>
                                        <a href="/student/myKp"><button type="button" class="btn btn-outline-primary">考评详情</button></a>
                                    </div>
                                </div>-->

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/vendor/jquery/jquery.min.js"></script>
<script src="/vendor/popper.js/popper.min.js"></script>
<script src="/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="/vendor/chart.js/chart.min.js"></script>
<script src="/js/admin/all_user.js"></script>
</body>
</html>
